package com.pshcp.domain.vo;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 患者就诊人表
 * </p>
 *
 * @author auto generator
 * @since 2022-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Patient对象", description="患者就诊人表")
public class PatientVO implements Serializable {

    private static final long serialVersionUID=1L;


    private Long id;

    private Long patientUserId;

    private String hisPatientId;

    @ApiModelProperty(value = "与本人关系")
    private Integer relationType;

    @ApiModelProperty(value = "卡类型 0门诊卡 1住院卡 2病历卡(如果医院只支持一种卡,该字段值可以不填)")
    private Integer patientCardType;

    @ApiModelProperty(value = "卡号")
    private String patientCardNo;

    private String name;

    @ApiModelProperty(value = "证件类型")
    private Integer idCardType;

    @ApiModelProperty(value = "证件号")
    private String idCardNo;

    @ApiModelProperty(value = "患者手机号")
    private String phone;

    @ApiModelProperty(value = "0女1男")
    private Integer sex;

    @ApiModelProperty(value = "出生日期")
    private Date birthday;

    @ApiModelProperty(value = "现住址")
    private String currentAddr;

    @ApiModelProperty(value = "现住址邮编")
    private String postNo;

    @ApiModelProperty(value = "婚姻状况")
    private Integer maritalStatus;

    @ApiModelProperty(value = "民族")
    private String folk;

    @ApiModelProperty(value = "职业")
    private String occupation;

    @ApiModelProperty(value = "工作单位")
    private String workUnit;

    @ApiModelProperty(value = "工作单位地址")
    private String workUnitAddr;

    @ApiModelProperty(value = "工作单位电话")
    private String workUnitPhone;

    @ApiModelProperty(value = "户口地址")
    private String registeredAddress;

    @ApiModelProperty(value = "户口详情地址")
    private String registeredAddressDetail;

    @ApiModelProperty(value = "出生地址")
    private String birthPlace;

    @ApiModelProperty(value = "籍贯 XX省XX市")
    private String nativePlace;

    @ApiModelProperty(value = "国籍")
    private String nationality;

    @ApiModelProperty(value = "联系人姓名")
    private String contactsName;

    @ApiModelProperty(value = "联系人身份证号")
    private String contactsIdCardNo;

    @ApiModelProperty(value = "联系人手机号")
    private String contactsPhoneNo;

    @ApiModelProperty(value = "联系人详细地址")
    private String contactsAddr;

    @ApiModelProperty(value = "患者与联系人关系")
    private String contactsRelationship;

    @ApiModelProperty(value = "默认就诊人0否1是")
    private Integer isDefault;

    @ApiModelProperty(value = "获知渠道 1、网络2、电话咨询3、电视4、广告5熟人介绍6医院介绍7、114查询8新媒体9其他(直接传HIS码表,无需做对照)")
    private Integer learnChannel;

    @ApiModelProperty(value = "窗口人员是否已审核 Y已审核，N未审核")
    private String hasReviewed;

    @ApiModelProperty(value = "预约号")
    private String bookNo;

    @ApiModelProperty(value = "是否专程来京0否1是")
    private Integer onlyBeijing;

    @ApiModelProperty(value = "状态 0正常 1删除")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
